<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta name="decorator" content="moduleList" />
<script type="text/javascript">
$(document).ready(function() {
	$("#btnQuery").click(function(){
		$("#salesForm").submit();
	});
});
</script>
</head>
<body>
    	<div class="panel-heading">
				    <h3 class="panel-title">
				    	对账异常单列表
				    	<!-- <button class="btn btn-success btn-sm pull-right" role="button" onclick="doPrint()">打印</button> -->
				    	<a class="btn btn-default btn-sm pull-right o-a-button" role="button" href="javascript:void(0)" onclick="history.go(-1)">返回</a>
				    </h3>
				   
				  </div>
		<tags:message content="${message}"/>
		<table class="table table-striped table-hover " id="table1">
			<thead>
				<tr>
					<th>提出日期</th>
					<th>销售日期</th>
					<th>供应商编号</th>
					<th>销售单号</th>
					<th>异常单状态</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${list}" var="statementSalesErro">
								<tr data-herf="${contextPath}/biz/statement/statementSalesErro/view?id=${statementSalesErro.id}" data-target="_self">
									<td><fmt:formatDate value="${statementSalesErro.createTime}" pattern="yyyy-MM-dd"/></td>
									<td><fmt:formatDate value="${statementSalesErro.saleDate}" pattern="yyyy-MM-dd"/></td>
									<td>${statementSalesErro.supplierNo}</td>
									<td>${statementSalesErro.saleNo}</td>
									<td>
									<ossp:value dictType="IS_CONFIRMED" key="${statementSalesErro}"></ossp:value>
									</td>								
								</tr>
							</c:forEach>
			</tbody>
		</table>
		<div class="o-l-page">
			<div class="col-sm-6">
				<ul class="pagination">
					<li class="disabled"><a href="javascript:">&#171; 上一页</a></li>
					<li class="disabled"><a href="#">1</a></li>
					<li class="disabled"><a href="#">下一页 &#187;</a></li>
				</ul>
			</div>
			<div class="col-sm-6">
				<span class="pull-right">
					到第<input class="form-control input-sm input-goto" type="text">页
					<button class="btn btn-sm btn-primary" role="button">go</button>
				</span>
			</div>
		</div>
		<script type="text/javascript">
			$('.form_date').datetimepicker({
		        language:  'zh-CN',
		        weekStart: 1,
		        todayBtn:  1,
				autoclose: 1,
				todayHighlight: 1,
				startView: 2,
				minView: 2,
				forceParse: 0,
				format: 'yyyy-mm-dd'
		    });

</script>
<script type="text/javascript" src="${staticPath}/js/list.js"></script>
</body>
</html>